<?php
/*
    Template Name: 标签
 *  
 *  Project lonely
 *  Author: Fvcity dev Team
 *  File: /lonely/tag.php
 *
 *  Subversion Keywords:
 *  $Id: tag.php 19 2007-07-05 05:21:52Z fvcity.roy $
 *  $Date: 2007-07-05 05:21:52 +0000 (Thu, 05 Jul 2007) $
 *  $Revision: 19 $
 *  $Author: fvcity.roy $
 *  $URL: http://fvcity.googlecode.com/svn/trunk/tag.php $
 */
?>
<?php get_header(); ?>

<!-- Side SC START -->
<div class="sc">
	
	<br />这里是我的标签集合!
<p>
WordPress 更新到<?php bloginfo('version'); ?> 停掉了UTW这一伟大的插件...
</p>

<div class="tag_cloud"><?php wp_tag_cloud(''); ?></div>
		
<?php $countervariable=1; if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>



 <div class="postdate">
 <div class="month"><?php the_time('M'); ?></div>
 <div class="day"><?php the_time('d'); ?></div>
 </div>
 	 
 <div class="posthead"><h1><a href="#"></a><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  <p class="postinfo"><span class="postauthor"> <?php the_author() ?></span> &nbsp;&nbsp;<span class="postcategory"> <?php the_category(', ') ?></span> &nbsp;&nbsp;<span class="post_tags"><?php if( $wp_version =="2.3-alpha" ||$wp_version >="2.3" ) { ?><?php the_tags('Tags: ', ', ', ''); ?><?php } else { ?><?php if ( (function_exists('UTW_ShowTagsForCurrentPost')) ) { ?><?php UTW_ShowTagsForCurrentPost("commalist") ?><?php }?><?php }?></span> &nbsp;&nbsp;<?php edit_post_link('<span class="edit_post">Edit</span>', ''); ?></p>
</div>

<div class="postcontent">

<?php if (is_home() && (!$paged || $paged == 1) || is_search() || is_single() || is_page()): ?>
	
<?php the_content('<span class="psot_more">阅读全文... &raquo;</span>'); ?>

<?php else: ?><?php the_excerpt() ?><?php endif; ?>
 </div>
 
<ul class="postcom">
 <li><?php comments_popup_link('<strong>0</strong> Comments', '<strong>1</strong> Comment', '<strong>%</strong> Comments'); ?></li>
</ul>

	
<?php endwhile; endif; ?>
	
<div class="navigation">
    <?php if(function_exists('fvcity_pagenavi')) { fvcity_pagenavi(); } ?>
</div>
</div>
<!--  Side SC END -->
	
<?php get_sidebar(); ?>
<?php get_footer(); ?>